home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 016 / scrnstuf.arc / BORDER.DOC < prev    next >
Encoding:
Text File  |  1986-02-15  |  3.9 KB  |  103 lines

  1.  Part of the ENHANCER series of programs BORDERS.COM  Ver. 2.5, Feb 22, 1985
  2.  
  3.      Copyright (C)    I. B. Miller     1984, 1985
  4.  
  5.     If you find this of value and use it please send a
  6.      contribution ($15.00) suggested. If you want the
  7.      latest version of the ENHANCER programs please send
  8.      $25.00 plus $10.00 for Disk, Shipping & Handling.
  9.  
  10.           To:  Enhancers
  11.            231 Otonabee Ave.
  12.            Willowdale, Ontario, Canada
  13.            M2M-2S9
  14.  
  15.     Borders is a program which sets a border color &/or graphics palette
  16. and background on either the regular or enhanced color card on every occurrence
  17. of the interrupt chosen by the user. The user selected border color and palette
  18. is thus relatively permanent despite the efforts of commercial programs to wipe
  19. them out or change them.
  20.  
  21.     It will work with the regular or enhanced color card and most others
  22. as, to my knowledge, it uses DOS functions properly as recommended by
  23. IBM Corporation.
  24.  
  25. Syntax is :       BORDERS BH,P#,IHH
  26. -----------
  27.  
  28.  B indicates a border color change is coming and H is any hex digit (0-F)
  29.        to indicate the desired border color or H can be the letter o
  30.        to turn program off ( border color is also graphics background ).
  31.  
  32.  P indicates that a palette is to be forced for graphics display
  33.        # is the palette to be used (only 0 or 1 are allowed )
  34.      or if letter o is entered palette forcing is turned off
  35.  
  36.  I is to indicate another interrupt is to be used rather than the default of
  37.     Keyboard 09 while HH is the  Interrupt number to be used. Note that after
  38.     Initial installation I is ignored as it is not possible to put back an
  39.     Interrupt vector & be sure that no program further down the possible
  40.     chain has stolen my vector - which could have disastrous results.
  41.  
  42. Disclaimer
  43. ----------
  44.      For obvious reasons the user is totally responsible for use of this
  45. program and determining that it is suitable for use by him, and he uses this
  46. program with no warranty from myself.
  47.  
  48.     It should be permanent unless the program doesn't use DOS facilities in
  49. the normal manner and/or sets borders enthusiastically. In such cases
  50. choosing 1C as the Interrupt to use will usually work.
  51.  
  52. General
  53. --------
  54. Please note that even though BORDERS.COM is about 3K long most of this is code
  55. to set up the initial display, provide help and to install itself. This is run
  56. once and then discarded leaving only the less than 128 bytes, necessary to
  57. maintain borders and palettes at the desired color, still in residence.
  58.  
  59. The colors which can be selected for borders are:
  60.  
  61.             0. Black        8. grey
  62.             1. Blue         9. Light Blue
  63.             2. Green        A. light Green
  64.             3. Cyan         B. Light Cyan
  65.             4. Red            C. light Red
  66.             5. Magenta        D. Light Magenta
  67.             6. Brown        E. Yellow
  68.             7. White        F. bright White
  69.  
  70. Discussion of Interrupt choices
  71. -------------------------------
  72.  
  73.   1C.  timer interrupts
  74.      this is a very good way to defeat even the most stubborn of
  75.      other peoples programs that insist on destroying
  76.      our choice of border colors. unfortunately it does
  77.      its thing 18 times a second & has a fair overhead
  78.  
  79.   09.  keyboard interrupts
  80.      This is the lowest overhead way of doing things although
  81.      a program that actively destroys borders will require you
  82.      to type something every once in a while to maintain your
  83.      chosen color. Most programs dont bother to destroy borders
  84.      more than once or twice so it is useable and results in
  85.      negligible overhead.
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.   My own choice is the Keyboard interrupt as it has negligible
  94. overhead and most other programs will co-exist with it. If you find too many
  95. disappearances of the border and palette chosen by you then go to the Timer
  96. and be sure though at a cost.
  97.  
  98.  
  99.        If you have any comments or suggestions please contact
  100. me either at Home in the evenings at           (416) 226-9753
  101. or at the following BBS's   PCanada(pc-1266)   (416) 751-6337
  102.                 SGV-BBS        (416) 673-0557
  103.